<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="UTF-8"%>

          	<div class="op">
		           	<c:choose>
				<c:when  test="${empty sessionScope.username}">
					<span><a href="${basePath}/login.jsp">登陆</a></span>  
					<span>|</span>
					<span><a href="javascript:void(0)">注册</a></span>
				</c:when>
				<c:otherwise>
					<span><a href="javascript:void(0)">欢迎您，${sessionScope.username}</a></span>  
					<span> | </span>
					<span><a href="${basePath}">返回首页</a></span>
					<span> | </span>
					<span><a href="${basePath}/controller/logoutController.jsp">登出</a></span>
				</c:otherwise>
			</c:choose>
		</div>
